import type { IPersonConfig, IPrizeConfig } from "@/types/storeType";
import { personData } from "./person.data";
import { realPrizeList } from "./prize.data";
export const defaultPersonList = <IPersonConfig[]>personData;

export const defaultMusicList = [
  {
    id: `Geoff Knorr - China (The Industrial Era).ogg${new Date()
      .getTime()
      .toString()}`,
    name: "Geoff Knorr - China (The Industrial Era).ogg",
    url: "https://1kw20.fun/resource/audio/Geoff Knorr - China (The Industrial Era).ogg"
  },
  {
    id: `Geoff Knorr&Phill Boucher - China (The Atomic Era).ogg${new Date()
      .getTime()
      .toString()}`,
    name: "Geoff Knorr&Phill Boucher - China (The Atomic Era).ogg",
    url: "https://1kw20.fun/resource/audio/Geoff Knorr&Phill Boucher - China (The Atomic Era).ogg"
  },
  {
    id: `Radetzky March.mp3${new Date().getTime().toString()}`,
    name: "Radetzky March.mp3",
    url: "https://1kw20.fun/resource/audio/Radetzky March.mp3"
  },
  {
    id: `Shanghai.mp3${new Date().getTime().toString()}`,
    name: "Shanghai.mp3",
    url: "https://1kw20.fun/resource/audio/Shanghai.mp3"
  },
  {
    id: `Waltz No.2.mp3${new Date().getTime().toString()}`,
    name: "Waltz No.2.mp3",
    url: "https://1kw20.fun/resource/audio/Waltz No.2.mp3"
  },
  {
    id: `WildChinaTheme.mp3${new Date().getTime().toString()}`,
    name: "WildChinaTheme.mp3",
    url: "https://1kw20.fun/resource/audio/WildChinaTheme.mp3"
  },
  {
    id: `边程&房东的猫 - 美好事物-再遇少年.ogg${new Date()
      .getTime()
      .toString()}`,
    name: "边程&房东的猫 - 美好事物-再遇少年.ogg",
    url: "https://1kw20.fun/resource/audio/边程&房东的猫 - 美好事物-再遇少年.ogg"
  },
  {
    id: `大乔小乔 - 相见难别亦难.ogg${new Date().getTime().toString()}`,
    name: "大乔小乔 - 相见难别亦难.ogg",
    url: "https://1kw20.fun/resource/audio/大乔小乔 - 相见难别亦难.ogg"
  },
  {
    id: `你要跳舞吗-新裤子.mp3${new Date().getTime().toString()}`,
    name: "你要跳舞吗-新裤子.mp3",
    url: "https://1kw20.fun/resource/audio/你要跳舞吗-新裤子.mp3"
  },
  {
    id: `生命-声音玩具.mp3${new Date().getTime().toString()}`,
    name: "生命-声音玩具.mp3",
    url: "https://1kw20.fun/resource/audio/生命-声音玩具.mp3"
  },
  {
    id: `与非门 - Happy New Year.ogg${new Date().getTime().toString()}`,
    name: "与非门 - Happy New Year.ogg",
    url: "https://1kw20.fun/resource/audio/与非门 - Happy New Year.ogg"
  }
];

// export const defaultPrizeList = <IPrizeConfig[]>[
export const defaultPrizeList = <IPrizeConfig[]>realPrizeList;
export const defaultCurrentPrize = <IPrizeConfig>{
  id: "001",
  name: "三等奖",
  sort: 1,
  isAll: false,
  count: 12,
  isUsedCount: 0,
  picture: {
    id: "2",
    name: "三等奖",
    url: "https://1kw20.fun/resource/image/image3.png"
  },
  separateCount: {
    enable: true,
    countList: []
  },
  desc: "三等奖",
  isShow: true,
  isUsed: false,
  frequency: 1
};
export const defaultTemporaryPrize = <IPrizeConfig>{
  id: "",
  name: "",
  sort: 0,
  isAll: false,
  count: 1,
  isUsedCount: 0,
  picture: {
    id: "-1",
    name: "",
    url: ""
  },
  separateCount: {
    enable: true,
    countList: []
  },
  desc: "",
  isShow: false,
  isUsed: false,
  frequency: 1
};

export const defaultImageList = [
  {
    id: "0",
    name: "一等奖",
    url: "https://1kw20.fun/resource/image/image1.png"
  },
  {
    id: "1",
    name: "二等奖",
    url: "https://1kw20.fun/resource/image/image2.png"
  },
  {
    id: "2",
    name: "三等奖",
    url: "https://1kw20.fun/resource/image/image3.png"
  },
  {
    id: "3",
    name: "超级奖",
    url: "https://1kw20.fun/resource/image/image4.png"
  },
  {
    id: "4",
    name: "特别奖",
    url: "https://1kw20.fun/resource/image/image5.png"
  }
];
export const defaultPatternList = [
  21, 38, 55, 54, 53, 70, 87, 88, 89, 23, 40, 57, 74, 91, 92, 93, 76, 59, 42,
  25, 24, 27, 28, 29, 46, 63, 62, 61, 78, 95, 96, 97, 20, 19, 31, 48, 65, 66,
  67, 84, 101, 100, 99, 32, 33
];
